package org.shiwen.week12;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

public class Time1 {
    public static void main(String[] args) {
        LocalDate a = LocalDate.now();
        System.out.println(a);
        LocalDateTime b = LocalDateTime.now();
        System.out.println(b);
        LocalTime c = LocalTime.now();
        System.out.println(c);
        //三个对象分别封装 日期 日期+时间 时间


    }
}
